﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string name1 = Request.Form["TextBox1"];
            string mima1 = Request.Form["TextBox2"];
            string name2 = Request.QueryString["TextBox1"];
            string mima2 = Request.QueryString["TextBox2"];
            Response.Write($"登录成功！欢迎{name1},您的密码为：{mima1}");
            Response.Write($"登录成功！欢迎{name2},您的密码为：{mima2}");

        }
    }
}